<?php
namespace App\Domain\BooksInDoor;

use Illuminate\Support\ServiceProvider;

class BooksInDoorServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\BooksInDoor\Service\BooksInDoorService',
            'App\Domain\BooksInDoor\Service\BooksInDoorServiceImpl'
        );
        $this->app->singleton('booksInDoorService', function () {
            return $this->app->make('App\Domain\BooksInDoor\Service\BooksInDoorService');
        });
    }
}
